package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 取币业务明细记录表
 * </p>
 *
 * @author author
 * @since 2023-05-18
 */
@Data
@TableName("tz_business_nft_record")
public class BusinessNftRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(description = "取币业务Id")
    private Long businessNftId;

    @Schema(description = "商品名称")
    private String prodName;

    @Schema(description = "商品id")
    private String prodId;

    @Schema(description = "用户id")
    private String userId;

    @Schema(description = "处理状态：1：失败 2：成功")
    private Integer status;

    @Schema(description = "铸币类别链上标识Id")
    private String denomId;

    @Schema(description = "币token")
    private String dawId;

    @Schema(description = "币编码")
    private String nftCode;

    @Schema(description = "失败原因")
    private String reason;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "修改时间")
    private Date updateTime;


}
